package com.example.model.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 登录响应数据传输对象
 */
@Data
@Schema(name = "登录响应对象", description = "登录成功后返回的用户信息和token")
public class LoginVO {
    @Schema(description = "JWT访问令牌", required = true, example = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...")
    private String token;       // JWT令牌
    
    @Schema(description = "用户基本信息", required = true)
    private UserInfoVO userInfo; // 用户信息
}